package com.kdtech.analyse.common;

import java.util.ArrayList;
import java.util.List;

/**
 * 解析配置类
 * 
 * @author KK
 *
 */
public class NewsAnalyseConfig {
	
	private String source;
	private boolean needUpdate;
	private List<String> urlRegexs = new ArrayList<String>();
	private List<AnalyseSelector> titleRegexs = new ArrayList<AnalyseSelector>();
	private List<AnalyseSelector> dateRegexs = new ArrayList<AnalyseSelector>();
	private List<AnalyseSelector> contentRegexs= new ArrayList<AnalyseSelector>();
	private List<AnalyseSelector> commentNumRegexs= new ArrayList<AnalyseSelector>();
	private List<AnalyseSelector> clickNumRegexs= new ArrayList<AnalyseSelector>();
	private List<AnalyseSelector> deliverNumRegexs= new ArrayList<AnalyseSelector>();
	private List<AnalyseSelector> authorRegexs= new ArrayList<AnalyseSelector>();
	
	public List<AnalyseSelector> getAuthorRegexs() {
		return authorRegexs;
	}

	public void setAuthorRegexs(List<AnalyseSelector> authorRegexs) {
		this.authorRegexs = authorRegexs;
	}

	public NewsAnalyseConfig(String source) {
		this.source = source;
	}

	public List<String> getUrlRegexs() {
		return urlRegexs;
	}

	public String getSource() {
		return source;
	}

	public boolean isNeedUpdate() {
		return needUpdate;
	}

	public void setNeedUpdate(boolean needUpdate) {
		this.needUpdate = needUpdate;
	}

	public List<AnalyseSelector> getTitleRegexs() {
		return titleRegexs;
	}

	public List<AnalyseSelector> getDateRegexs() {
		return dateRegexs;
	}

	public List<AnalyseSelector> getContentRegexs() {
		return contentRegexs;
	}

	public List<AnalyseSelector> getCommentNumRegexs() {
		return commentNumRegexs;
	}

	public List<AnalyseSelector> getClickNumRegexs() {
		return clickNumRegexs;
	}

	public List<AnalyseSelector> getDeliverNumRegexs() {
		return deliverNumRegexs;
	}
	
	
	

}
